package com.corpcredit.model;

// Generated Jul 22, 2008 11:56:54 PM by Hibernate Tools 3.2.0.CR1

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

/**
 * CwzbZh generated by hbm2java
 */
@Entity
@Table(name = "cwzb_zh")
public class CwzbZh implements java.io.Serializable
{

    private Long id;
    private int version;
    private Jbqk jbqk;
    private String username;
    private String operation;
    private Date optdate;
    private long ny;
    private BigDecimal zyywmlrl;
    private BigDecimal jzcsyl;
    private BigDecimal zzcbcl;
    private BigDecimal ylxjbl;
    private BigDecimal zyywsrzzl;
    private BigDecimal jlrzzl;
    private BigDecimal zbjll;
    private BigDecimal zcfzl;
    private BigDecimal ldbl;
    private BigDecimal sdbl;
    private BigDecimal lxbzbs;
    private BigDecimal xjldfzbl;
    private BigDecimal jzcynmdkyebl;
    private BigDecimal dbbl;
    private BigDecimal zysrxjl;
    private BigDecimal yszkzzl;
    private BigDecimal chzzl;
    private BigDecimal gdzczzl;
    private BigDecimal cqzbhbl;
    private BigDecimal zbgdhbl;
    private BigDecimal gdzcjzl;

    public CwzbZh()
    {
    }

    public CwzbZh( Long id, long ny )
    {
        this.id = id;
        this.ny = ny;
    }

    public CwzbZh( Long id,
                   Jbqk jbqk,
                   String username,
                   String operation,
                   Date optdate,
                   long ny,
                   BigDecimal zyywmlrl,
                   BigDecimal jzcsyl,
                   BigDecimal zzcbcl,
                   BigDecimal ylxjbl,
                   BigDecimal zyywsrzzl,
                   BigDecimal jlrzzl,
                   BigDecimal zbjll,
                   BigDecimal zcfzl,
                   BigDecimal ldbl,
                   BigDecimal sdbl,
                   BigDecimal lxbzbs,
                   BigDecimal xjldfzbl,
                   BigDecimal jzcynmdkyebl,
                   BigDecimal dbbl,
                   BigDecimal zysrxjl,
                   BigDecimal yszkzzl,
                   BigDecimal chzzl,
                   BigDecimal gdzczzl,
                   BigDecimal cqzbhbl,
                   BigDecimal zbgdhbl,
                   BigDecimal gdzcjzl )
    {
        this.id = id;
        this.jbqk = jbqk;
        this.username = username;
        this.operation = operation;
        this.optdate = optdate;
        this.ny = ny;
        this.zyywmlrl = zyywmlrl;
        this.jzcsyl = jzcsyl;
        this.zzcbcl = zzcbcl;
        this.ylxjbl = ylxjbl;
        this.zyywsrzzl = zyywsrzzl;
        this.jlrzzl = jlrzzl;
        this.zbjll = zbjll;
        this.zcfzl = zcfzl;
        this.ldbl = ldbl;
        this.sdbl = sdbl;
        this.lxbzbs = lxbzbs;
        this.xjldfzbl = xjldfzbl;
        this.jzcynmdkyebl = jzcynmdkyebl;
        this.dbbl = dbbl;
        this.zysrxjl = zysrxjl;
        this.yszkzzl = yszkzzl;
        this.chzzl = chzzl;
        this.gdzczzl = gdzczzl;
        this.cqzbhbl = cqzbhbl;
        this.zbgdhbl = zbgdhbl;
        this.gdzcjzl = gdzcjzl;
    }

    @Id
    @Column(name = "ID", unique = true, nullable = false)
    @GeneratedValue(strategy=GenerationType.AUTO)
    public Long getId()
    {
        return this.id;
    }

    public void setId( Long id )
    {
        this.id = id;
    }

    @Version
    @Column(name = "version", nullable = false)
    public int getVersion()
    {
        return this.version;
    }

    public void setVersion( int version )
    {
        this.version = version;
    }

    @ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name = "jbq_ID")
    public Jbqk getJbqk()
    {
        return this.jbqk;
    }

    public void setJbqk( Jbqk jbqk )
    {
        this.jbqk = jbqk;
    }

    @Column(name = "username", length = 50)
    public String getUsername()
    {
        return this.username;
    }

    public void setUsername( String username )
    {
        this.username = username;
    }

    @Column(name = "operation", length = 20)
    public String getOperation()
    {
        return this.operation;
    }

    public void setOperation( String operation )
    {
        this.operation = operation;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "optdate", length = 23)
    public Date getOptdate()
    {
        return this.optdate;
    }

    public void setOptdate( Date optdate )
    {
        this.optdate = optdate;
    }

    @Column(name = "ny", nullable = false)
    public long getNy()
    {
        return this.ny;
    }

    public void setNy( long ny )
    {
        this.ny = ny;
    }

    @Column(name = "zyywmlrl", precision = 18, scale = 4)
    public BigDecimal getZyywmlrl()
    {
        return this.zyywmlrl;
    }

    public void setZyywmlrl( BigDecimal zyywmlrl )
    {
        this.zyywmlrl = zyywmlrl;
    }

    @Column(name = "jzcsyl", precision = 18, scale = 4)
    public BigDecimal getJzcsyl()
    {
        return this.jzcsyl;
    }

    public void setJzcsyl( BigDecimal jzcsyl )
    {
        this.jzcsyl = jzcsyl;
    }

    @Column(name = "zzcbcl", precision = 18, scale = 4)
    public BigDecimal getZzcbcl()
    {
        return this.zzcbcl;
    }

    public void setZzcbcl( BigDecimal zzcbcl )
    {
        this.zzcbcl = zzcbcl;
    }

    @Column(name = "ylxjbl", precision = 18)
    public BigDecimal getYlxjbl()
    {
        return this.ylxjbl;
    }

    public void setYlxjbl( BigDecimal ylxjbl )
    {
        this.ylxjbl = ylxjbl;
    }

    @Column(name = "zyywsrzzl", precision = 18, scale = 4)
    public BigDecimal getZyywsrzzl()
    {
        return this.zyywsrzzl;
    }

    public void setZyywsrzzl( BigDecimal zyywsrzzl )
    {
        this.zyywsrzzl = zyywsrzzl;
    }

    @Column(name = "jlrzzl", precision = 18, scale = 4)
    public BigDecimal getJlrzzl()
    {
        return this.jlrzzl;
    }

    public void setJlrzzl( BigDecimal jlrzzl )
    {
        this.jlrzzl = jlrzzl;
    }

    @Column(name = "zbjll", precision = 18, scale = 4)
    public BigDecimal getZbjll()
    {
        return this.zbjll;
    }

    public void setZbjll( BigDecimal zbjll )
    {
        this.zbjll = zbjll;
    }

    @Column(name = "zcfzl", precision = 18, scale = 4)
    public BigDecimal getZcfzl()
    {
        return this.zcfzl;
    }

    public void setZcfzl( BigDecimal zcfzl )
    {
        this.zcfzl = zcfzl;
    }

    @Column(name = "ldbl", precision = 18)
    public BigDecimal getLdbl()
    {
        return this.ldbl;
    }

    public void setLdbl( BigDecimal ldbl )
    {
        this.ldbl = ldbl;
    }

    @Column(name = "sdbl", precision = 18)
    public BigDecimal getSdbl()
    {
        return this.sdbl;
    }

    public void setSdbl( BigDecimal sdbl )
    {
        this.sdbl = sdbl;
    }

    @Column(name = "lxbzbs", precision = 18)
    public BigDecimal getLxbzbs()
    {
        return this.lxbzbs;
    }

    public void setLxbzbs( BigDecimal lxbzbs )
    {
        this.lxbzbs = lxbzbs;
    }

    @Column(name = "xjldfzbl", precision = 18)
    public BigDecimal getXjldfzbl()
    {
        return this.xjldfzbl;
    }

    public void setXjldfzbl( BigDecimal xjldfzbl )
    {
        this.xjldfzbl = xjldfzbl;
    }

    @Column(name = "jzcynmdkyebl", precision = 18, scale = 4)
    public BigDecimal getJzcynmdkyebl()
    {
        return this.jzcynmdkyebl;
    }

    public void setJzcynmdkyebl( BigDecimal jzcynmdkyebl )
    {
        this.jzcynmdkyebl = jzcynmdkyebl;
    }

    @Column(name = "dbbl", precision = 18, scale = 4)
    public BigDecimal getDbbl()
    {
        return this.dbbl;
    }

    public void setDbbl( BigDecimal dbbl )
    {
        this.dbbl = dbbl;
    }

    @Column(name = "zysrxjl", precision = 18, scale = 4)
    public BigDecimal getZysrxjl()
    {
        return this.zysrxjl;
    }

    public void setZysrxjl( BigDecimal zysrxjl )
    {
        this.zysrxjl = zysrxjl;
    }

    @Column(name = "yszkzzl", precision = 18)
    public BigDecimal getYszkzzl()
    {
        return this.yszkzzl;
    }

    public void setYszkzzl( BigDecimal yszkzzl )
    {
        this.yszkzzl = yszkzzl;
    }

    @Column(name = "chzzl", precision = 18)
    public BigDecimal getChzzl()
    {
        return this.chzzl;
    }

    public void setChzzl( BigDecimal chzzl )
    {
        this.chzzl = chzzl;
    }

    @Column(name = "gdzczzl", precision = 18)
    public BigDecimal getGdzczzl()
    {
        return this.gdzczzl;
    }

    public void setGdzczzl( BigDecimal gdzczzl )
    {
        this.gdzczzl = gdzczzl;
    }

    @Column(name = "cqzbhbl", precision = 18)
    public BigDecimal getCqzbhbl()
    {
        return this.cqzbhbl;
    }

    public void setCqzbhbl( BigDecimal cqzbhbl )
    {
        this.cqzbhbl = cqzbhbl;
    }

    @Column(name = "zbgdhbl", precision = 18, scale = 4)
    public BigDecimal getZbgdhbl()
    {
        return this.zbgdhbl;
    }

    public void setZbgdhbl( BigDecimal zbgdhbl )
    {
        this.zbgdhbl = zbgdhbl;
    }

    @Column(name = "gdzcjzl", precision = 18, scale = 4)
    public BigDecimal getGdzcjzl()
    {
        return this.gdzcjzl;
    }

    public void setGdzcjzl( BigDecimal gdzcjzl )
    {
        this.gdzcjzl = gdzcjzl;
    }

}
